this would become `indexes.push(localIndex)`