Hi Shawn, welcome to the Ranch, and thanks for contributing!
Just one little thing... I added the "code tags" to your code. See how much more readable it is? All you have to do when you're posting code is to highlight the code and click the "Code" button which is above the box you're posting in.
Do not threaten THIS beaver! Not even with this tiny ad: