added links, tree arrays