added debug statements for closestSites, seems to be working