beginning DFS