separated and refactored code into hightlightPoliticians() function