You can just use `foreach` instead of `map` here. since you don't care about the side effects.