Adding reindexing