almost there with phase calibration