add Event class