In STV systems, voters rank the candidates in order of preference. There is a certain number of votes that are to be achieved if a candidate is to be elected. If first preference candidates meet this quota they are elected and any extra votes above the quota are transferred to the second preference candidate who is elected when they meet the quota. If no candidates meet the quota, the candidate with the fewest votes is taken out of the race and their votes are transferred to whoever is left in order of preference