Completely forgot about the other distance functions