sample, clustering on/off