added timeseries stats to handle results