removed previous global indexing