working on the treewalk