FSM                                                                                                                       Finite State Machine