Another good example of pattern matcher.