add documents and source