removed mid-level caching