modify lazy caching