changed codes to look for transaction with REL status (12)