add UI for transaction