Add closure_sample