state machine changes