NLIVvsH code