Generating the product model