adding commentary in app.js