cleaned function add_options
add_options is unused