Renaming popreg to popReg, step 2