             death[.deathPermalink] = deathPerma
         }
         data[name] = death
+        
+        deaths.insert(deathReason)
     }
 }
 

            inquest["death_date"] = dataValue
        case .deathVerdict:
            inquest["death_verdict"] = dataValue
        case .deathYear:
            inquest["year"] = dataValue
        case .deathPermalink:

    data[person.key] = peep
}

// debugging output
print("Total people: \(data.count)")
print("Tassie born: \(data.filter({ $0.value[.birthDate] != nil }).count)")
print("Immigrant: \(data.filter({ $0.value[.immigrationDate] != nil }).count)")
