renamed cacheCore to cache