Activation state machine