deeper thinking about resolve_opts