Add a state machine feature