Add WC-NB and random_sample method