how handle adding a link