source code for MSCC.