This is a state machine depend on flow,it Implements flow control.