now using index.js