Adapt the state machine based on the following information: