Adding form fields for specifying occurrence