var patientinfo = new dictionary<string, string>(); void preinitiation(){ if(dentistryservices["cleaning"] == "unavailable") { patientinfo.add("appointmentstatus", "leave out pre-initiation, we'll reinvigorate your dental care plan from scratch once services are available."); } else { patientinfo.add("statement", "all services are currently available, looking forward to enhancing your smile!"); } }