move data to app.js