functioning heatmap