Improvement of checker main.