first version
updated timeseries to show actual interval value
final