adding to library works