doCheck = true
This is implicitly the case, and unless `doCheck` is referenced it makes no sense setting it.