chnge to linkDistance