Added a distance function