created a SensorHandler template