Chaned to for-loop and fixed some issues with adding the letters