Code for Sensor Data object