flags stores the event state