gamma calibration added