get tree with data