added reindex at end