adding the ability to import a whole tree