adding event type resource.