changed plots to use mpc