first go at implementing a basic predictor