Testing code for MPG with corrected code.