First working stub with predicates.