added StatusFlag: atomic status flag