Add code for plotting results