remove the sensor function