Implemented TreeWalker