updated version for publishing to NPM