Adding code for heatmap