updated for use with new heatmap renderer