added product validations.