use global settings for samples.