concurrency for sampling