Updated Sensor code