delete event class, use txt