First complete working generator.