finish generator task, wait for refactor