added a function to make it easier to kick off the process. It calls populateTree()