Getting stats from heatstat
Removed temp code