adding nmi