use SensorBase class as base class for sensors