renamed Index to IIndex