Added setSelect() method