Removd Ref case class