Source code for mwcs added