simple <code>for</code> here would be faster