Add a sample of generator