add event case class