tracking down dependencies

tracking down dependencies by depth-first search