add validation of name format