Add Transactions and a Total variable