simpler version of the treemodel since features of the old one weren't used (yet...