dfs working