Similar to the comment above -- the value of done is updated here, but where will it be read?