early implementation of predictor class