changed tree to top level container and left it up to parent scope to deal with loading children