corrected if (result.isChecking)