use isDeleted method