add model, sampler, infer