improved example
added package.json