adding require to the reindex