adding tree view