new query for chat also