Added index to timeseries

Please review