added caching to topics