heat implementation for bug report mainly.