AVG sampler prototype