modify the index.js