switched chats to a cache