Feature/transaction

don't hard code the default value with a string. use an Enum or something similar