Please add this code fragment for 'select-one' as a case of the switch statement.