Removed the maps call as the distanes aren't being used