added example to mc()