add selectedIndex add  and remove methods