nvm and tern