getDistance added