Added duplicates removal