adjusted to using the latest Ui::Select