refactored tree so it doesn't make 2 calls for the tree. Just makes a
single call to list to show tree.