little fsm design