add predicate pattern