Regulation of temperature