index.js adjust