added panic to p.sampler~