add validations to product