initial code for npm