merging balances