team member demo: using enums as event types