What Republicans need to do to win elections