No, you have the same bug as the original poster in his first piece of code.
In reply to Re^2: The Name Game and Golf by ambrus in thread The Name Game and Golf by Cody Fendant