working on autoload feature for tree