added sampler_t argument setting to func calls + removed bug on adding Values to usedSamplers