extended std collection to be able to return a tree
extended std collection to be able to return a tree