now using app.js and not index.js