added event listener on button, 2 warnings though because button never get used