added adjustment for right censoring