index.js revised