Sandy Thomson: Chapter 10 exercises.

good extra validation step