chg: use core.get_heat and other core. func