make best cand selection logic configurable