Code typo corrected, thanks to Steve Yoss for spotting it.