Correct sampling procedure in example