search -> complete-candidates
wip better error handling