adds return transaction codes