commented out caching, added caching flag