add dog fsm machine