Added the getProduct logic