testing the flow