Add distance method