added strongly connected components