add listener to fsm