added a first state machine (teams-closed)