A common modern use is a ROT13 cipher, where the values of the letters are shifted by 13 places. Thus ‘A’ ↔ ‘N’, ‘B’ ↔ ‘O’, and so on. Answer Fixed your code, look at lines 12 and 15 I believe: I would also use map type object instead of 2 arrays: You can find your substitute letter like so: