still having trouble getting the tree to traverse