renaming isNotDone to isDone