add default visit? to dfs