initial version of tree, no cv yet