added connection for optional thermistor