updated rest sampler sample for ch6