refine the prediction