updated version of CandidateMatch