uses nested pods for filtering