move creation of candidate list into new get_candidates()