Added a new state machine, to handle the practice session.