Nice. I like this, sans the edge cases I'd mentioned previously.