Matched the candidates with the generators