better note caching