define flag to be 1-bit