added selection in index