display transactions in correct format