how it works transaction flow_2