Added remove duplicates