fiddling with tree structure