added extrapolation