optionwrite