treeview model implemented