add some broken logic to app.js