Added sampler to input.