index.html & app.js new functions 4