updated case class
adding patronus type reference