Don't use iterator as it prevents multi-threading