To avoid the compiler error of subscript Range we have to use the following ```subscript (r: Range<Int>) -> String { let start = index(startIndex, offsetBy: r.lowerBound) let end = index(start, offsetBy: r.upperBound - r.lowerBound) let range: Range<Index> = start..<end return String(self[range]) } ``` Thanks.