library load checking implemented