generates a list of event types dynamically