create domain option functional