eventlistener

I am pretty sure I fixed the event listener.