added FSM to repo