Made the map have logic that calculates the distance