work on connections and documents