Thanks for posting.
If your code contains indentation, it will be retained if you place it in your posts between [ code] and [ /code] tags (without the spaces). You can go back and edit your post to put this in, which would make your code easier to read.