IMPORTANT: last change to the original thermal model