refactoring: most of the time when you want to make a class, what you actually want is case class.