Use `each` for side-effects rather than `map`