change m1 and m2
add title to plot