Added functions setSelect and setFilter