I would suggest to use `forEach` instead of `some`. As `some` does not guarantee that all of the items are processed.