Added removeDuplicates()