Extracted out the results_checker