added comments in thermostat