How does the predictor work?