You could use collection.ForEach here