balances working. untested