got the tree working