added nvm related stuff