added dfs
added dfs