RF: haphazard flag flipping