dynamic for loops work, but in serial