added mc loop around mpec