add validation reactive mode - require case class