Here is my solution to the latest challenge problem. It assumes that all input to the two subs we were asked to write is sanity checked outside of of those subs. -mark