changed absolute event listener to add event listener
changed absolute event listener to add event listener
added function binding