using pointers instead of NV_Ith_S in RHS functions