updated to use new rotateLetter