added translation of transaction types
format the result in a proper way