Added mpg.cpp