A modified Predict's version.