event type tot the where clause