nit: use len("candidate ") rather than 10?