added percent smoothing and plotted graph over time