coding better version calibrated plots