Add remove duplicates problem