now the tree is working