added fetch contents which populates empty nodes in the tree
added chaining to the model