I am working on the design patterns book from Head First, this is my modification of one of the examples