working on dispersive calibration