create_ar and fill_fields_from_request functions