Explain the workings, current and projected, of checkdone()