add SCC, change data structure.