Replacing transactionType variable