modified app.js for 2nd branch