What do you mean "one by one"? Doesn't the code you posted do that already?