removed case class