added the check for reset, and the code for the ncvz ops...