Why calling `checkValue` here?