repeat of Yang's changes
Merge branch 'master' of https://github.com/yang-/SCC