Created sub-methods for Republican and Democrat searches.