Begin of the FSM