validating products