further work on sensor class