Some work on generator, generator_sequence added