removed redundant reindex method

Deleted the redundant code and modified accordingly the the methods that used it