illustrate saving from a case class