Function processCheckResult