replaced foreach with a ->with in the product model - much more efficient