first draft of combining events. not yet in main maze project