finishing incomplete_tasks method