setting up transaction processing