changed filters to predicate