Adding a dependency graph for n = 3