clenaing of index.js and continuing tutorial