define Event class