adding dependency graph