added apply indexing from 0 yields predicate, then variables;