updated efficiency of caching