now actually working with the cache.