play around with tests
an idea how to get rid of the sentinel

This should work quite well, I hope. Needs textual description though.
After that, arbitrary keys can be used.