added nv and gv directives