FSM is adjusted to pipe protocol