Adding third plot, fixing error in plot 2