removed handleEvent from Event class