added validation for new products