use samplerMode for all samplers