refactored into app.css & app.js