dfs pass