GetLibrary method