comp_tree: completely changed