move Root and Newid into Tree