set sample.