DFS added in main