partial tree traversal working, going to need to define it better