modified main function of MCL,SAMCL,IMCLROE