operator_valid(), setting bit mask