take start and end into account for time series processing