added getItemIndex