Updated code for Amber's post

The author was wrong.  Thanks,