adding link to library