added support for multiselect