need to fix extrapolatin