started based on the flow