truncated, combined with app.js