switch keep data to F.  introduce bernoulli for logical imputation