Some comments in sampling.py