event object is passed to anonymous function. You can use 'this' inside the function to refer to itself