event type def