D.1 Sampling