add validation for product