interpolation for the time series changed to linear based on sol's feedback