Implement light_sensor