changes to calib example to compile again