replace case class