modify the state machine show