added validation for name - with hyphen