added setHeat check for negative heat values