Add example for events