add getter for "done" flag