renamed setCache