initializing nvm