polishing some of the sensor libraries