                 )
                 (pagelifetime)
               )
-
-              (filter #(= (compare (% :pageid) id) 0 ) @pages )
-          )
-
-          (take-last (- (count (map get-introduction (str/split page #"<div class=\"content-box-1\">"))) 1) 
-            (map get-introduction (str/split page #"<div class=\"content-box-1\">")))
-
-          
-
-
+            )          
+              (take-last (- (count (map get-introduction (str/split page #"<div class=\"content-box-1\">"))) 1) 
+                (map get-introduction (str/split page #"<div class=\"content-box-1\">")))
+              (reverse(filter #(= (compare (% :pageid) id) 0 ) @pages ))
           
         )
 

            )
            (pagelifetime)
           )
          )
          (delete-page-by-number id)
    )


    (
      if (< (count (filter #(= (compare (% :pageid) id) 0 ) @pages )) 1)
        (doseq [x outarr] 

           (swap! pages conj 

    
    outarr (into [] 
        (


          if (
            or 
              (< (count (filter #(= (compare (% :pageid) id) 0 ) @pages )) 1)
              (
                >
                (t/in-minutes 
                  (t/interval 
                    (f/parse  (f/formatters :date-hour-minute-second-ms) (.format (java.text.SimpleDateFormat. "yyyy-MM-dd'T'HH:mm:ss.SSS") (:downloaded (first (filter #(= (compare (% :pageid) id) 0 ) @pages ) ))))
