Libraries: eliminating duplicates