temperature sensor works