in reply to loop problem
I downloaded and ran what you posted exactly as is and it works fine. Perhaps you have a typo in the copy you are executing.