Examples from Head First Design Patterns