generator is changed