Finished Stack version of SCC