had to change require to point to index.js