You might be able to use `array_pluck()` instead of this loop...