simplify code to return best candiates