meanMC code 2013/2/23