doneSet and doneSetTest implemented