added SensorToServerStateMachine