Changed the values in the cache dictionary from integers to strings