Make dfs private