done up to the time series plot