makes the reindexing private to the model