generator execution code done