added code that would return the trait id and set the combo box