added strongly-connected component codes