more improvements in nreg.py (II)