in case this iterates over a buch of objects, you should use `foreach` instead of `array_map` because `array_map` will create a copy of the collection it iterates and `foreach` does not.