Case classes/pattern matching: work on slides.