DFS now working