Almost finished revised SMC.