Wrote product validations