comments for sensor.go