simplify dependencies.