treeStructure is now a Class