set up an example of custom events