turtle graph now shows the phases of state machine