adding two methods that will handle and serve the heat map data