Changed Function Definition in Sensor