add mpg support