---made nt_reg an option, reading only a few times from options