cacheSet now global variable