Adding code for tree view blog post