add time series analysis