add new function: getLink