added FSM graph