minor changes to how result set traversal works.