added error plots