add optionObj and groupObj