ED, remove dups