index.html & app.js new functions 3