added addproducts functionality