Bank of America beats, delivers a record quarter