created a Transaction object