add remove duplicates solutions