changes to dfs