case class sample