improved fields with new way to turn on flags and form prototyping