changing NPMFactory