add sampler for mac