Added documenation for done()