doc string
distance methods