refactor input_options_builder