complete but dont test DFS algorithm