indexing method changed