refactor dict for options in set variants