copy and pasted code and changed web.js