included more details in dfs traversal