add save indexing