SampleGenerator.env declaration commented, but used in the code below