little change in the index.js