getting dependencies, still need to walk the tree