move stuffs from sampler-scaffold2