factor out local link
usage changed