Adding the transaction model