rewritten to return info for one or more bankaccounts