add a data structrue to keep track of the run-time position in the predicate tree...