changes in the generator