new functionality for saved chat_flag