added the TransactionQueue class