I hadn't yet gotten to reading that ... your code example is exactly what I was thinking.