Perfect usage of Sensor.