rename: getLocalIndex()<->getIndex()