Implemented index selection