allow sampling
Merge pull request #22 from rwox/sampling

allow sampling