generator finished