fsm builder