implementing transaction message