added validation for duplication set number checking