format balances