added cache to bundle for caching variables