added some loggin' in fsm