Changed variable name
Refactored code that manipulates alphabet letters