sampleGeneration