created the sensor.h file