setting up time series