Changed diags to fix indentation & create processScatterPlot.