add components of DFS