Added code to Sensors