News organizations were engaging in yellow journalism before the Spanish-American War when