updated to add labels to timeseries