First version of the tree