Added NIV code