oh, note that the 'lookup order' in the sample is different from what
I proposed. 
I'm quite open to that choice, I think the former would be better, but
I just know how to implement a sample of the latter ;)