Prefect usage of Sensor.