You can replace this loop a `SelectMany()`l