tree view mostly complete