add a get products function