added quietmode to sampler