format candidate table