predict and infer strategy