replaced all instances of newreg