putting the heatmap mechanism