implemented new thermostat