Ok traverse worked because I stopped being an idiot.
Got the tree walk to work.