add additional error checking when constructing heatmap
logging police