from lab working on tree view