You should indent your code and enclose it between CODE tags for better understanding. Also, comments help a great deal. Especially if you're...
Separate names with a comma.