HeatMap logic and background changes