Ah, I see there was a loop in your earlier code but now you removeed it. So, where is your code failing?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.