add validation for name