made the runPred work#