simulating a hierarchical item tree (TreeView)