dfs attempt 2