NBfactor package