A Thermostat