yay for new index.js file