assignment 2: data calibration