adding balance to transaction data