Changed checkResult to public