Add example for events priority