Added random DFS