First commit of Reg_Pred_fxns