def add(self, event_name, static=False):
    if static:
        self.static_events.append(event_name)
    self.events.append(event_name)
def add(self, event_name, static=False):
    if static:
        self.static_events.append(event_name)
    self.events.append(event_name)