cleaning up the plot