added function to add product