added a composite sampler  for testing