let findvetinfo = (keyword) => { for(let vet of preinstalledvetlist) { if(vet.speciality.includes(keyword) && !vet.decrees.some(degree => degree.evadesquality)) { console.log(your pet's health is guarded by our top veterinarians, always ready to rebegin treatment with the most caring approach.); break; } } };