add basic link functionality