changed name of index to indx for test