Please explain what the loop does and what you want it to do that is different.

Please edit your post and wrap your code with


<YOUR CODE HERE>

to get highlighting and preserve formatting.