changed plotting with trials