added toggle for data extrapolation