Updating generator

Updating Generator