completed tree_ref