changes in generator