add sampler to node server