gh-2 Find the proper place to insert a dependency