Generateing the product model