add use of temperature reg