Added solve all dfs solution