these two functions share all the same code except for the string `'dependent_cases_on_phone'`/`'cases_on_phone'`. Just sayin'