generator works

generator works