modified index.js again