work on indexing