added checks for other transaction types