Chapter 9, basic usage of multimethods