diff --git a/xep-0136.xml b/xep-0136.xml
index 8018fbc1..f04ad1e5 100644
--- a/xep-0136.xml
+++ b/xep-0136.xml
@@ -40,6 +40,17 @@
Added persistent auto save setting; added ability to control settings per chat session. An example follows. The <auto/> element specifies the current Automatic Archiving settings for this stream. This element MUST be empty and MUST include a boolean 'save' attribute &BOOLEANNOTE; that specifies whether automatic archiving is enabled or disabled for this stream. This element MUST be empty and MUST include a boolean 'save' attribute &BOOLEANNOTE; that specifies whether automatic archiving is enabled or disabled for this stream. The element MAY include a 'scope' attribute that specifies how long this setting is true. The allowable values are: Note: If 'scope' attribute is not set, it SHOULD be considered as 'stream'. The <default/> element specifies the default settings for both OTR Mode and Save Mode. The element MUST be empty and MUST include an 'otr' attribute and a 'save' attribute. The element MAY include an 'expire' attribute. * Note: The upload, retrieval and management of 'stream' archives is currently beyond the scope of this document. The <session/> element specifies the settings for Save Mode with regard to a particular chat session. The element MUST be empty and MUST include a 'thread' attribute, and a 'save' attribute. The element MAY include a 'timeout' attribute. Server implementations SHOULD remove all <session/> elements when stream is closed. The 'timeout' attribute indicates how long this rule will stay in server after the latest message in this thread is exchanged. Server MUST NOT forget this rule before 'timeout' seconds after latest message in this thread is exchanged but MAY keep this rule longer than 'timeout' value specifies. Client MUST NOT set this attribute, but wait for server's answer to know this value. If the client wants to keep this rule longer, it must send a new <session/> element to the server before this timeout expires. The 'thread' attribute specifies the ThreadID of the chat session (in the sense of &xep-0155;) to which the preferences specified in this <session/> element apply. The 'save' attribute specifies the user's setting for Save Mode with regard to the specified chat session. The allowable values are: * Note: The upload, retrieval and management of 'stream' archives is currently beyond the scope of this document. Each <method/> element specifies the the user's preferences for one available archiving method. The <method/> element MUST be empty and MUST include both the 'type' and 'use' attributes. A client may use a similar protocol to set the Modes for a particular chat session. A chat session is identified by its unique 'thread' attributes in <message> stanza (see &xep0155;) The same error cases apply as when Setting Default Modes. In order to remove a preference for a chat session, the client shall send an <sessionremove/> element to the server. The client can set one or more method preferences by sending an IQ-set containing a <pref/> element that in turn contains one or more <method/> elements. If the client includes less than three <method/> elements, the server MUST NOT modify the unspecified methods and MUST leave them as currently stored on the server. However, when the server pushes the method preferences it MUST include all of the preferences, not only those that were set by the client. Most archiving preferences are designed for interpretation only by the client. The server MUST NOT take into account any of the archiving preferences when server administration policies require that every message is to be logged automatically. Otherwise, the server MUST interpret the following archiving preferences (and SHOULD NOT interpret any other ones): When determining archiving preferences for a given message, the following rules shall apply: If a user's OTR preference for a contact changes during a Chat Session that has been negotiated with the contact, and if the new preference would affect the value of the 'logging' field that was previously negotiated, then the client MUST immediately renegotiate the 'logging' field according to the user's new OTR preference (or terminate the Chat Session). If a Stanza Session Negotiation result differ from current preferences of archiving for the contact (negotiation agreed to enable OTR and current 'save' value for this contact is not 'false', or negotiation agreed to disable OTR and current 'save' value for this contact is 'false'), the client MUST send a new <session/> element with the corresponding 'thread' attribute to the server to inform it to save or not the session. If a Stanza Session Negotiation agreed to enable OTR then the clients MUST NOT allow messages sent in either direction to be archived in any way (including Manual Archiving and Automatic Archiving). If a Stanza Session Negotiation agreed to enable OTR then both clients MUST ensure that the Stanza Session Negotiation messages themselves are not archived. For example, if Automatic Archiving was enabled when the client received the initial Stanza Session Negotiation request, then the client MUST immediately ask its server to delete its copy of the request (see Removing a Collection for a description of how to remove the messages currently being recorded by the server). Otherwise: The client MAY remove several collections at once. The 'start' and 'end' elements MAY be specified to indicate a date range. The 'with' attribute MAY specify JID of XMPP entities, see the JID Matching section of this document.
+
+
+
+
+
+
-
If the end date is in the future then all collections on or after the start date are removed.
If the start date is before all the collections in the archive then all collections prior to the end date are removed.
If the value of the optional 'open' attribute is set to 'true' then only collections that are currently being recorded automatically by the server (see Automatic Archiving) are removed.