Added boolean isDone check to Add.