Working on generator