What's the significance of using the ' instead of the (list ) ?
I modified my code to suit the format you used, and it runs smoothly and nicely.
As for the extra testing, it's unnecessary, but whenever I add snippets of code from other places, I try to get it working before trimming out other things that may be unnecessary. It's just kind of a precautionary thing because I'm not very comfortable/confident in what I'm doing, to go hacking stuff up right off the bat.