Re-build case class example