case class example