preparation for mods to library