customValidatorWithMesssage renamed to validatorWithMesssage