const std::set<std::string>& main_events