adding event_clear class