reworked stuff to return sampler_ids + removed preserveAll