predicates map in example is now a one-liner.