Example of event class