app.js formula changes