use linkdistance