implements basic treeview example