Switching to FSM.