In fact, that's the solution I'd like to think I'd have come up with if I'd worked on it long enough.