Heating elements and temperature control