updated previous case class
updated previous case class