updated with thermistor