everything seems to be working in sampler