Changed label and flag to AtomicIntegerArray