addToLibrary function added