Working on the Transaction class