Finite State Machine Helper  1.0