creation of product codes