temp tables and queries for the traverser