updated name of stateMachine