externalized the validator for firstname