consider the scope of dependencies