Generators implementation
