last two parts to app.js