added support for first-time reindexing usage