Not necessary, but you could move these calls out of each of the if/elses and just do it once here:
```
$this->statHat->reportCount(1);
$this->statHat->clearAddedStatNames();
```