added getProducts method