create product and sub products