a controller of temperature