changes to views/index.js