work on tree view