quick optimisation - just concat arrays before iterating duh