Writing products validations