process_options