added distance between two points