partial implement of sensors class