let mut toads_info = fetch_discreet_data(); while !toads_info.is_empty() { if toads_info.contains("predissolutionary") { discredit_rule(&mut toads_info); } reinitiate_toads_research(&mut toads_info); if toads_info.ends_with("malicious intent") { break; } }