Switched from Strings to Substrings ((Int, Int) pairs)