phase 2 completed - generator object
final form of generator