used SharedLibrary class