         singleLetter: Bool
         ) -> (letters: String, value: Int) {
         var letters = String()
-        var lettersAssciValue = 0
+        var lettersASCIIValue = 0
         // Obtains an array of words by using a given username
         let components = username.components(separatedBy: " ")
         // If there are whether two words or more

                        let substring = component[startIndex..<endIndex].capitalized
                        if let letter = substring.first {
                            letters.append(letter)
                            lettersAssciValue += letter.ASCIIValue
                        }
                    }
                }
            }
        }
        return (letters: letters, value: lettersAssciValue)
    }
    
    private func calculatePreferredFont(withFont font: UIFont, for size: CGSize) -> UIFont {
        let preferredFont = font.withSize(min(size.height, size.width) / 2.0)
        return preferredFont.pointSize < font.pointSize ? preferredFont : font
    }
}

            let style = NSParagraphStyle.default.mutableCopy()
            let attributes = [
                NSAttributedString.Key.paragraphStyle: style,
                NSAttributedString.Key.font: makeFitFont(withFont: lettersFont, forSize: rect.size),
                NSAttributedString.Key.foregroundColor: lettersColor
            ]
            let lettersSize = letters.size(withAttributes: attributes)
