refactor account_balances, get balances from one place