add code for combobox