added dfs and colors