adds predictive validity code