New dna.getIndex() method