updated timeSeries generation