I posted the code as an example without testing... hmmm.... I'll go check...