I've split your post off into it's own topic and added code tags. Looks much better, eh?
It still needs a better title, but I'm not sure what you're asking. Please
TellTheDetails. What happens when you run this code? How is it different from what you expected? Any errors?