parallel with dfs attempt one not working