- setting length to 0 on an array deletes all items
- added prototype to html element