predictor API changed