indexing method updated